<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>加单表</title>

</head>
<style type="text/css">
    body{
        background:#f9f9f9;
    }
    .hr_head{
        border: 1px solid #efefef;
    }
    .container{
        margin-top: 20px;
        width: 80%;
        min-width: 800px;
        margin-left: auto;
        margin-right: auto;
        background: #fff;
        min-height: 400px;
        overflow: visible;
        padding: 10px 20px 20px 20px;
    }
    .container table{ 
        width: 100%;
        font: 16px/1.5 Tahoma, Helvetica, Arial, STXihei, SimSun, sans-serif;
        color: #444;
        border-collapse: collapse;
    }
    .container table th{
        border: 1px solid #000;
        height: 32px;
        text-align:left;
        padding: 5px 10px 4px 10px;
        border-bottom: 2px solid #000;
    } 
    .container table td{
        text-align:left;
        border: 1px solid #000;
        padding: 5px 10px 4px 10px;
    } 
    .container h2{
        text-align: center;
    }
    .container .add-contentInfo{
        text-align: center;
        font-size: 18px;
        margin-bottom: 20px;
    }
    .container .title-addorder{
        font: 25px/3 Tahoma, Helvetica, Arial, STXihei, SimSun, sans-serif;
        letter-spacing:2px;
        font-size: 22px;
        text-align: center;
        margin-bottom: 10px;
    }
    .container .add-order-detail{
        background-color: #ddd;
    }
    .download_madan{
        float: right
    }
</style>
<body>
<a class="download_madan" href="<{link app=b2c ctl="site_product" act="download_jiadan" arg0=$row.order_id}>" class="btn btn-simple action-download"><span><span><i class="icon"></i>下载加单信息</span></span></a>
<div class="container">

    <div class="title-addorder"><加单总信息表></div>
    <div class="add-contentInfo">Summary Of Repeat Orders</div>
      <table  width="100%" cellpadding="0">
        <thead>
            <tr>
                <td>编号<br>Pattern code</td>
                <td>加单数量(米)<br>Repeat order quantity(M)</td>
                <td>加单预计交期<br>Expected delivery date(Y/M/D)</td>
            </tr>
        </thead>
        <tbody>
        <{foreach from=$row key=key item=item}>
            <tr <{if $key%2==1}>class="add-order-detail"<{/if}>>
                <td><{$item.proCode|default:'&nbsp;'}></td>
                <td><{$item.cnt|default:'&nbsp;'}></td>
                <td><{$item.jiaoqi|default:'&nbsp;'}></td>
            </tr>
        <{/foreach}>
        </tbody>
    </table>
</div>
</body>
</html>
